class Students{
    private String name;
    private  int sid;
    private String grade;
    private String gender;
    private int age;
    private String character;
    public Students(String name,int sid,String grade,String gender,int age,String character){
        this.name=name;
        this.sid=sid;
        this.age=age;
        this.grade=grade;
        this.gender=gender;
        this.character=character;
    }
        public void setName(){
            System.out.println(name);}
        public void setsid(){
            System.out.println(sid);}
        public void setgrade(){
            System.out.println(grade);}
        public void setgender()
        {
            System.out.println(gender);}
        public void setage(){
            System.out.println(age);}
        public void setcharacter(){
            System.out.println(character);};
        public void say(){
            System.out.println("我的姓名是" + name + "，我的学号是" + sid + " ，我的班级是" + grade + "，我的性别是" + gender + ",我的年龄是" + age + ",我的性格是：" + character);
        }
        };

public class Student {
    public static void main(String[] args) {
        Students stu1 = new Students("张三", 1001, "地理信息科学班", "男", 19, "活泼");
        Students stu2 = new Students("李四", 1002, "地理科学班", "女", 20, "内向");
        Students stu3 = new Students("王五", 1003, "土地资源管理班", "女", 21, "外向");
        stu1.setName();
        stu1.setsid();
        stu1.setgrade();
        stu1.setgender();
        stu1.setage();
        stu1.setcharacter();
        stu1.say();
        stu2.say();
        stu3.say();
    }
}
